package org.oslims.server.dao;

import java.util.List;

import org.oslims.domain.Sample;

public interface SampleDao extends BaseDao<Sample, Long> {

	Sample findLastSample();

	List<Sample> findByRequestCode(String code);

	List<Sample> findByRequestCode(String code, int start, int length, String sortBy, Boolean desc);

	List<Sample> searchByProperties(String sampleCode, String description, String origin, String requestCode, String sampleType, String storagePlace);

}
